package com.zy.explore.license.interfaces.frm;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 系统菜单表(表sys_menu)数据传输对象
 *
 * @author ChinaYin  主页:https://gitee.com/zy-explorej2ee 邮箱:zyexplorej2ee@sina.com
 * @date 2021年06月13日 13:01:42
 */
@ApiModel("表(sys_menu)实体类DTO")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SysMenuFrm {

    /**
     * 系统菜单ID
     */
    @ApiModelProperty(value = "系统菜单ID", example = "1")
    private Integer id;

    /**
     * 菜单URL
     */
    @ApiModelProperty(value = "菜单URL", example = "a")
    private String url;

    /**
     * 菜单path
     */
    @ApiModelProperty(value = "菜单path", example = "a")
    private String path;

    /**
     * 组件名称
     */
    @ApiModelProperty(value = "组件名称", example = "a")
    private String component;

    /**
     * 菜单名称
     */
    @ApiModelProperty(value = "菜单名称", example = "a")
    private String name;

    /**
     * 图标类名
     */
    @ApiModelProperty(value = "图标类名", example = "a")
    private String iconCls;

    /**
     * 是否需要权限访问
     */
    @ApiModelProperty(value = "是否需要权限访问", example = "1")
    private Integer requireAuth;

    /**
     * 是否活跃 0.否 1.是
     */
    @ApiModelProperty(value = "是否活跃 0.否 1.是", example = "1")
    private Integer keepAlive;

    /**
     * 父菜单ID
     */
    @ApiModelProperty(value = "父菜单ID", example = "1")
    private Integer parentId;

    /**
     * 是否可用：0.禁用 1.可用
     */
    @ApiModelProperty(value = "是否可用：0.禁用 1.可用", example = "1")
    private Integer enabled;

    /**
     * 创建时间起
     */
    @ApiModelProperty(value = "创建时间起 yyyy-MM-dd", example = "2020-05-20")
    private String createTimeBegin;

    /**
     * 创建时间止
     */
    @ApiModelProperty(value = "创建时间止 yyyy-MM-dd", example = "2020-05-20")
    private String createTimeEnd;

    /**
     * 更新时间起
     */
    @ApiModelProperty(value = "更新时间起 yyyy-MM-dd", example = "2020-05-20")
    private String updateTimeBegin;

    /**
     * 更新时间止
     */
    @ApiModelProperty(value = "更新时间止 yyyy-MM-dd", example = "2020-05-20")
    private String updateTimeEnd;

    /**
     * 排序字段集合
     */
    @ApiModelProperty("排序字段集合")
    private List<SortFieldFrm> sortFields;

    /**
     * 分页查询参数，页码
     */
    @ApiModelProperty(value = "查询页", example = "1")
    private Integer pageNum;

    /**
     * 分页查询参数，每页数量
     */
    @ApiModelProperty(value = "每页数量", example = "10")
    private Integer pageSize;
}